home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xt
/
XtAppGetErrorDatabase.z
/
XtAppGetErrorDatabase
Wrap
Text File
|
1998-10-30
|
4KB
|
133 lines
XXXXttttAAAAppppppppGGGGeeeettttEEEErrrrrrrroooorrrrDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttAAAAppppppppGGGGeeeettttEEEErrrrrrrroooorrrrDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXXtttt))))
NNNNAAAAMMMMEEEE
XtAppGetErrorDatabase, XtAppGetErrorDatabaseText - obtain
error database
SSSSYYYYNNNNTTTTAAAAXXXX
XrmDatabase *XtAppGetErrorDatabase(_a_p_p__c_o_n_t_e_x_t)
XtAppContext _a_p_p__c_o_n_t_e_x_t;
void XtAppGetErrorDatabaseText(_a_p_p__c_o_n_t_e_x_t, _n_a_m_e, _t_y_p_e,
_c_l_a_s_s, _d_e_f_a_u_l_t, _b_u_f_f_e_r__r_e_t_u_r_n, _n_b_y_t_e_s, _d_a_t_a_b_a_s_e)
XtAppContext _a_p_p__c_o_n_t_e_x_t;
char *_n_a_m_e, *_t_y_p_e, *_c_l_a_s_s;
char *_d_e_f_a_u_l_t;
char *_b_u_f_f_e_r__r_e_t_u_r_n;
int _n_b_y_t_e_s;
XrmDatabase _d_a_t_a_b_a_s_e;
AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
_a_p_p__c_o_n_t_e_x_t
Specifies the application context.
_b_u_f_f_e_r__r_e_t_u_r_n
Specifies the buffer into which the error message
is to be returned.
_c_l_a_s_s Specifies the resource class of the error message.
_d_a_t_a_b_a_s_e Specifies the name of the alternative database
that is to be used or NULL if the application's
database is to be used.
_d_e_f_a_u_l_t Specifies the default message to use.
_n_a_m_e
_t_y_p_e Specifies the name and type that are concatenated
to form the resource name of the error message.
_n_b_y_t_e_s Specifies the size of the buffer in bytes.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The _X_t_A_p_p_G_e_t_E_r_r_o_r_D_a_t_a_b_a_s_e function returns the address of
the error database. The Intrinsics do a lazy binding of the
error database and do not merge in the database file until
the first call to _X_t_A_p_p_G_e_t_E_r_r_o_r_D_a_t_b_a_s_e_T_e_x_t.
The _X_t_A_p_p_G_e_t_E_r_r_o_r_D_a_t_a_b_a_s_e_T_e_x_t returns the appropriate
message from the error database or returns the specified
default message if one is not found in the error database.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
XtAppError(3Xt), XtAppErrorMsg(3Xt)
_X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
Page 1 (printed 4/30/98)
XXXXttttAAAAppppppppGGGGeeeettttEEEErrrrrrrroooorrrrDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttAAAAppppppppGGGGeeeettttEEEErrrrrrrroooorrrrDDDDaaaattttaaaabbbbaaaasssseeee((((3333XXXXtttt))))
_X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
Page 2 (printed 4/30/98)